package com.ruoyi.purchase.service;

import com.ruoyi.purchase.domain.Product;
import com.ruoyi.purchase.domain.Type;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lenovo
* @description 针对表【po_type】的数据库操作Service
* @createDate 2022-01-07 14:49:37
*/
public interface TypeService extends IService<Type> {
    /**
     * 查询所有商品类型信息
     * @param type 查询条件
     * @return 商品类型信息集合
     */
    public List<Type> queryList(Type type);

    public int changeStatus(Type type);

    public Type selectTypeById(Integer typeId);

    public List<Type> findAllType(Type type);
}
